package com.mhz.interceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.mhz.mvc.fc.ValueStack;
/**
 *  拦截器抽象基类
 * @author mhz
 *
 */
public abstract class Interceptor {
	protected HttpServletRequest request;

	protected HttpServletResponse response;

	protected ValueStack valueStack;

	public abstract void execute() throws Exception;

	public HttpServletRequest getRequest() {
		return request;
	}

	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public HttpServletResponse getResponse() {
		return response;
	}

	public void setResponse(HttpServletResponse response) {
		this.response = response;
	}

	public ValueStack getValueStack() {
		return valueStack;
	}

	public void setValueStack(ValueStack valueStack) {
		this.valueStack = valueStack;
	}
}
